package genericity;

public class TypeTest {
    public static void main(String[] args) {
		Type t=new Type();
		t.setX(50);t.setY(90);
		int a=(int) t.getX(); int b=(int) t.getY();
		System.out.println(a + "  " + b);
		
		Type t1=new Type();
		t1.setX(10.23); t1.setY(20.45);
		double c=(double) t1.getX(); double d=(double) t1.getY();
		System.out.println(c + "  " + d);
	}
}
